/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2020-2022. All rights reserved.
 * Description:
 * Author: g00421808
 * Create: 11/23/2022
 * Notes:
 */

#ifndef JSBIND_LOG_LEVEL_H
#define JSBIND_LOG_LEVEL_H
namespace Jsb {

using LogLevel = int;

constexpr LogLevel LOG_DEBUG = 0;
constexpr LogLevel LOG_INFO = 1;
constexpr LogLevel LOG_WARNING = 2;
constexpr LogLevel LOG_ERROR = 3;
constexpr LogLevel LOG_FATAL = 4;
constexpr LogLevel LOG_LEVELS = 5;

#ifdef NDEBUG
const LogLevel LOG_DFATAL = LOG_ERROR;
#else
const LogLevel LOG_DFATAL = LOG_FATAL;
#endif

} // namespace Jsb
#endif //JSBIND_LOG_LEVEL_H
